<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/>
    <title>文章管理</title>
    <css:jquery />
     <css:bootcss />
     <css:hd />

</head>
<body>
<div class="">
    <table class="table2">
        <thead>
        <tr>
            <td width="50">id</td>
            <td>文章标题</td>
            <td width="100">属性</td>
            <td width="180">添加时间</td>
            <td width="180">修改时间</td>
            <td width="100">所属分类</td>
            <td width="50">作者</td>
            <td width="150">操作</td>
        </tr>
        </thead>
        <tbody>
         <?php foreach ($Articledb as $k => $v): ?>
             
         
            <tr>
            <td width="50"><?php echo $v['aid'] ?></td>
            <td><?php echo $v['title'] ?></td>
            <td width="100">属性</td>
            <td width="180"><?php echo date('y-m-d',$v['sendtime']) ?></td>
            <td width="180"><?php echo $v['updatetime'] ?></td>
            <td width="100">所属分类</td>
            <td width="50"><?php echo $v['author']; ?></td>
            <td width="150"><a href="{:U('Article/editCate',array('cid'=>$vo['cid']))}" class="btn btn-warning" style="margin-right:10px;">修改</a><a href="{:U('Category/delCate',array('cid'=>$vo['cid']))}" class="btn btn-danger">删除</a></td>
        </tr>
        <?php endforeach ?>
        </tbody>
    </table>
    <div class="page_hdjob">
      
    </div>
</div>

</body>
</html>


